package com.sign2024.sign2024project.projectservice.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 工程服务专家提取方案 Vo
 *
 * @author yujie
 * @data 2024/8/16 11:23
 */
@ApiModel("工程服务专家提取方案 vo")
@Data
@HeadRowHeight(value = 30) // 头部行高
@ContentRowHeight(value = 30) // 内容行高
@ColumnWidth(value = 20) // 列宽, 可以作用在类或字段上
public class GCProgectVo {

    @ColumnWidth(value = 10)
    @ExcelProperty(value = "序号")
    private Integer serialNumber;

    // 最后要加上 任务 id
//    @ExcelIgnore
    // sign_name
    @ColumnWidth(value = 50)
    @ExcelProperty(value = "分标名称")
    private String signName;

    // epc_two
    @ColumnWidth(value = 40)
    @ExcelProperty(value = "ECP2.0分标名称")
    private String epcTwo;

    // sign_type
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "标段类型")
    private String signType;

    // project_name
    @ExcelIgnore
    @ExcelProperty(value = "金额最大的项目名称")
    private String projectName;

    // supplies_code
    @ExcelIgnore
    @ExcelProperty(value = "物料+编码")
    private String suppliesCode;

    // max_sign_money
    @ExcelIgnore
    @ExcelProperty(value = "最大金额")
    private BigDecimal maxSignMoney;

    // kind_name_num
    @ColumnWidth(value = 10)
    @ExcelProperty(value = "分包数量")
    private Integer kindNameNum;

    // family_next
    @ColumnWidth(value = 10)
    @ExcelProperty(value = "家次")
    private Integer familyNext;

    // family_number
    @ColumnWidth(value = 10)
    @ExcelProperty(value = "家数")
    private Integer familyNumber;

    // com_depa
    @ColumnWidth(value = 25)
    @ExcelProperty(value = "主管部门")
    private String comDepa;

    // sign_major
    @ColumnWidth(value = 25)
    @ExcelProperty(value = "技术专家专业")
    private String signMajor;

    // skill_major_num
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "技术专家数量")
//    private Integer skillMajorNum;
    private String skillMajorNum;

    // skill_other_num
    @ColumnWidth(value = 15)
//    @ExcelProperty(value = "其中异地专家")
    @ExcelProperty(value = "技术异地专家")
    private Integer skillOtherNum;

    // skill_total_num
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "技术总人数")
    private Integer skillTotalNum;

    // skill_class
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "技术分组")
    private String skillClass;

    // boss_sign_major
    @ColumnWidth(value = 25)
    @ExcelProperty(value = "商务专家专业")
    private String bossSignMajor;

    // boss_major_num
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "商务专家数量")
    private Integer bossMajorNum;

    // boss_other_num
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "商务异地专家")
    private Integer bossOtherNum;

    // boss_total_num
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "商务总人数")
    private Integer bossTotalNum;

    // boss_class
    @ColumnWidth(value = 15)
    @ExcelProperty(value = "商务分组")
    private String bossClass;

//    // 默认构造函数
//    public GCProgectVo() {
//        this.bossSignMajor = "商务综合";
//    }

}
